﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using Woobao.VO;

namespace Woobao.Servico
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "ICampeonatoService" in both code and config file together.
    [ServiceContract]
    public interface ICampeonatoService
    {
        [OperationContract]
        void Inserir(VOCampeonato obj);

        [OperationContract]
        List<VOCampeonato> Consultar(VOCampeonato filtro);

        [OperationContract]
        void Atualizar(VOCampeonato obj);

        [OperationContract]
        void Excluir(int codigo);

        [OperationContract]
        VOCampeonato GerarTabela(int codigoCampeonato);        
    }
}
